package co.com.javeriana.aes.oms.ejb.orders.dto;

/**
 *
 * @author Jonathan Fernandez <jonathan.fvargas@gmail.com>
 */

public class Item implements java.io.Serializable{
    
    private int itemId;
    private int period;
    private String productName;
    private String partNumber;
    private float price;
    private int quantity;
    private int orderId;
    private int productId;

    
    public Item() {
        
    }

    public Item(int itemId, int period, String productName, String partNumber, float price, int quantity, int orderId, int productId) {
        this.itemId = itemId;
        this.period = period;
        this.productName = productName;
        this.partNumber = partNumber;
        this.price = price;
        this.quantity = quantity;
        this.orderId = orderId;
        this.productId = productId;
    }    
    
    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public int getPeriod() {
        return period;
    }

    public void setPeriod(int period) {
        this.period = period;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getPartNumber() {
        return partNumber;
    }

    public void setPartNumber(String partNumber) {
        this.partNumber = partNumber;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getOrderId() {
        return orderId;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }   
    

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }
    
}
